package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构对象 t_company
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public class TCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 机构编码 */
    @Excel(name = "机构编码")
    private String companyCode;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String companyName;

    /** 机构地址 */
    @Excel(name = "机构地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String linkPerson;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String linkPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyCode(String companyCode) 
    {
        this.companyCode = companyCode;
    }

    public String getCompanyCode() 
    {
        return companyCode;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLinkPerson(String linkPerson) 
    {
        this.linkPerson = linkPerson;
    }

    public String getLinkPerson() 
    {
        return linkPerson;
    }
    public void setLinkPhone(String linkPhone) 
    {
        this.linkPhone = linkPhone;
    }

    public String getLinkPhone() 
    {
        return linkPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyCode", getCompanyCode())
            .append("companyName", getCompanyName())
            .append("address", getAddress())
            .append("linkPerson", getLinkPerson())
            .append("linkPhone", getLinkPhone())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
